import java.awt.Graphics;

import javax.swing.JFrame;


public class HeapView extends JFrame{
	
	public HeapView(Heap heap)
	{
		add(new HeapComponent(heap));
		
		setSize(700, 700);
		setTitle("Heap Simulation");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setVisible(true);
	}
	
}
